        	<div class="loginBox">
            	<div class="login-hd">
				    <?php if(empty($myifo['username'])) { ?>
                	<a href="<?php echo $this->_url('user/agreement'); ?>" class="sign">注册</a>
					<a href="<?php echo $this->_url('user/agreement'); ?>" class="set_up_shop">免费开店铺</a>
					<?php } else { ?>
                	<a href="<?php echo $this->_url('user/logout'); ?>" class="sign">退出</a>
					<a href="<?php echo $this->_url('user/index'); ?>" class="set_up_shop">会员中心</a>					
					<?php } ?>
                </div>
                    <div class="loginBoxForm">
                        <?php if(empty($myifo['username'])) { ?>
                    	<!--登录前-->
                        <form action="<?php echo $this->_url('/user/login');?>" method="post">
                            <div class="loginInput">用户名&nbsp;&nbsp;<input type="text" class="inputtext"  name="data[user][username]" /></div>
                            <div class="loginInput">密&nbsp;&nbsp;&nbsp;码&nbsp;&nbsp;<input type="password" class="inputtext pwd" name="data[user][password]" /></div>
                            <div class="loginInput checkCode">验证码&nbsp;&nbsp;<input type="text" class="inputcheck" name="data[user][captcha]" />&nbsp;<span class="checkImg"><img src="<?php echo $this->_url('user/micool') .'?T=10&'. time(); ?>" id="cheimg1" title="看不清，换一个" onClick="changImg('cheimg1');" width="60" height='30' /><!--<br/><a href="#"  onClick="changImg('cheimg1');" class="target_agreement">看不清楚</a>--></span></div>
                            <div class="memberCheck">
							<!--
							    <label class="check memberRadio">买家<input type="radio" checked="checked" class="mradio" name="memberType" value="1" /></label>
								<label class="memberRadio">商家<input type="radio" class="mradio" name="memberType" value="2" /></label>
								<label class="memberRadio memberRadioLast">供应商<input type="radio" class="mradio"  name="memberType" value="3" /></label>
								-->
							</div>
                            <div class="loginBtn">
							   <!-- <input type="submit" class="btn s-login" value="" />
								<input type="submit" class="btn q-login" value="" />-->
								<a href="<?php echo $this->_url('/user/forgot');?>" style="color: #AAAAAA;padding-left: 20px;text-align: left;">忘记密码</a>&nbsp;&nbsp;&nbsp;&nbsp;
								<input type="submit" class="btn" value="登录" />
							</div>
                        </form>
                        <!--登录前 end-->
                        <?php } else { ?>
						
                        <!--登录后-->
                        	<div class="mumberInfo">会员：<?php echo $myifo['username'];?></div>
                            <div class="mumberInfo-left"><a href="<?php echo $this->_url('user/usermyorder'); ?>" style="color: #3C3C3C;">我的订单</a></div>
                            <div class="mumberInfo-right"><a href="<?php echo $this->_url('cart/index/'); ?>" style="color: #3C3C3C;">我的购物车</a></div>
                            <div class="mumberInfo-left"><a href="<?php echo $this->_url('user/favorite/?type=pro'); ?>" style="color: #3C3C3C;">商品收藏</a></div>
                            <div class="mumberInfo-right"><a href="<?php echo $this->_url('custom/uservip'); ?>" style="color: #3C3C3C;">我是VIP客户</a></div>
                            <div class="mumberInfo-left"><a href="<?php echo $this->_url('account/index'); ?>" style="color: #3C3C3C;">我的账户</a></div>
                            <div class="mumberInfo-right"><a href="<?php echo $this->_url('remind/index'); ?>" style="color: #3C3C3C;">站内信息</a></div>
                            <div class="mumberInfo-more"><a href="<?php echo $this->_url('user/index'); ?>">去我的爱搜货看更多</a></div>
                        <!--登录后 end-->
						<?php } ?>
                </div>
            </div>		